﻿namespace WMS6.Web.BaseInfoServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DataContract(Name="ContractQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0")]
    public class ContractQueryEntity : BaseQuery
    {
        [OptionalField]
        private string AllBillsLowestChargeField;
        [OptionalField]
        private string AllBillsLowestGeneralLedgerField;
        [OptionalField]
        private string AllBillsLowestTaxGroupField;
        [OptionalField]
        private string ContractIDField;
        [OptionalField]
        private string ContractTypeField;
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string DepositField;
        [OptionalField]
        private string DescrField;
        [OptionalField]
        private string EndTimeField;
        [OptionalField]
        private string IsActiveField;
        [OptionalField]
        private string LowestInboundBillChargeField;
        [OptionalField]
        private string LowestInboundBillGeneralLedgerField;
        [OptionalField]
        private string LowestInboundBillTaxGroupField;
        [OptionalField]
        private string LowestInboundChargeField;
        [OptionalField]
        private string LowestInboundGeneralLedgerField;
        [OptionalField]
        private string LowestInboundTaxGroupField;
        [OptionalField]
        private string LowestInitialStorageBillChargeField;
        [OptionalField]
        private string LowestInitialStorageBillGeneralLedgerField;
        [OptionalField]
        private string LowestInitialStorageBillTaxGroupField;
        [OptionalField]
        private string LowestInitialStorageChargeField;
        [OptionalField]
        private string LowestInitialStorageGeneralLedgerField;
        [OptionalField]
        private string LowestInitialStorageTaxGroupField;
        [OptionalField]
        private string LowestOutboundChargeField;
        [OptionalField]
        private string LowestOutboundGeneralLedgerField;
        [OptionalField]
        private string LowestOutboundTaxGroupField;
        [OptionalField]
        private string LowestRecurringStorageBillChargeField;
        [OptionalField]
        private string LowestRecurringStorageBillGeneralLedgerField;
        [OptionalField]
        private string LowestRecurringStorageBillTaxGroupField;
        [OptionalField]
        private string ManageTypeField;
        [OptionalField]
        private string OverdueRentField;
        [OptionalField]
        private string OwnerIDField;
        [OptionalField]
        private string PaymentField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string SettleAccountField;
        [OptionalField]
        private string StartTimeField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;
        [OptionalField]
        private string User10Field;
        [OptionalField]
        private string User1Field;
        [OptionalField]
        private string User2Field;
        [OptionalField]
        private string User3Field;
        [OptionalField]
        private string User4Field;
        [OptionalField]
        private string User5Field;
        [OptionalField]
        private string User6Field;
        [OptionalField]
        private string User7Field;
        [OptionalField]
        private string User8Field;
        [OptionalField]
        private string User9Field;
        [OptionalField]
        private string WhIDField;
        [OptionalField]
        private string WhLoadField;

        [DataMember]
        public string AllBillsLowestCharge
        {
            get
            {
                return this.AllBillsLowestChargeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.AllBillsLowestChargeField, value))
                {
                    this.AllBillsLowestChargeField = value;
                    base.RaisePropertyChanged("AllBillsLowestCharge");
                }
            }
        }

        [DataMember]
        public string AllBillsLowestGeneralLedger
        {
            get
            {
                return this.AllBillsLowestGeneralLedgerField;
            }
            set
            {
                if (!object.ReferenceEquals(this.AllBillsLowestGeneralLedgerField, value))
                {
                    this.AllBillsLowestGeneralLedgerField = value;
                    base.RaisePropertyChanged("AllBillsLowestGeneralLedger");
                }
            }
        }

        [DataMember]
        public string AllBillsLowestTaxGroup
        {
            get
            {
                return this.AllBillsLowestTaxGroupField;
            }
            set
            {
                if (!object.ReferenceEquals(this.AllBillsLowestTaxGroupField, value))
                {
                    this.AllBillsLowestTaxGroupField = value;
                    base.RaisePropertyChanged("AllBillsLowestTaxGroup");
                }
            }
        }

        [DataMember]
        public string ContractID
        {
            get
            {
                return this.ContractIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ContractIDField, value))
                {
                    this.ContractIDField = value;
                    base.RaisePropertyChanged("ContractID");
                }
            }
        }

        [DataMember]
        public string ContractType
        {
            get
            {
                return this.ContractTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ContractTypeField, value))
                {
                    this.ContractTypeField = value;
                    base.RaisePropertyChanged("ContractType");
                }
            }
        }

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string Deposit
        {
            get
            {
                return this.DepositField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DepositField, value))
                {
                    this.DepositField = value;
                    base.RaisePropertyChanged("Deposit");
                }
            }
        }

        [DataMember]
        public string Descr
        {
            get
            {
                return this.DescrField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DescrField, value))
                {
                    this.DescrField = value;
                    base.RaisePropertyChanged("Descr");
                }
            }
        }

        [DataMember]
        public string EndTime
        {
            get
            {
                return this.EndTimeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.EndTimeField, value))
                {
                    this.EndTimeField = value;
                    base.RaisePropertyChanged("EndTime");
                }
            }
        }

        [DataMember]
        public string IsActive
        {
            get
            {
                return this.IsActiveField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsActiveField, value))
                {
                    this.IsActiveField = value;
                    base.RaisePropertyChanged("IsActive");
                }
            }
        }

        [DataMember]
        public string LowestInboundBillCharge
        {
            get
            {
                return this.LowestInboundBillChargeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LowestInboundBillChargeField, value))
                {
                    this.LowestInboundBillChargeField = value;
                    base.RaisePropertyChanged("LowestInboundBillCharge");
                }
            }
        }

        [DataMember]
        public string LowestInboundBillGeneralLedger
        {
            get
            {
                return this.LowestInboundBillGeneralLedgerField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LowestInboundBillGeneralLedgerField, value))
                {
                    this.LowestInboundBillGeneralLedgerField = value;
                    base.RaisePropertyChanged("LowestInboundBillGeneralLedger");
                }
            }
        }

        [DataMember]
        public string LowestInboundBillTaxGroup
        {
            get
            {
                return this.LowestInboundBillTaxGroupField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LowestInboundBillTaxGroupField, value))
                {
                    this.LowestInboundBillTaxGroupField = value;
                    base.RaisePropertyChanged("LowestInboundBillTaxGroup");
                }
            }
        }

        [DataMember]
        public string LowestInboundCharge
        {
            get
            {
                return this.LowestInboundChargeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LowestInboundChargeField, value))
                {
                    this.LowestInboundChargeField = value;
                    base.RaisePropertyChanged("LowestInboundCharge");
                }
            }
        }

        [DataMember]
        public string LowestInboundGeneralLedger
        {
            get
            {
                return this.LowestInboundGeneralLedgerField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LowestInboundGeneralLedgerField, value))
                {
                    this.LowestInboundGeneralLedgerField = value;
                    base.RaisePropertyChanged("LowestInboundGeneralLedger");
                }
            }
        }

        [DataMember]
        public string LowestInboundTaxGroup
        {
            get
            {
                return this.LowestInboundTaxGroupField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LowestInboundTaxGroupField, value))
                {
                    this.LowestInboundTaxGroupField = value;
                    base.RaisePropertyChanged("LowestInboundTaxGroup");
                }
            }
        }

        [DataMember]
        public string LowestInitialStorageBillCharge
        {
            get
            {
                return this.LowestInitialStorageBillChargeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LowestInitialStorageBillChargeField, value))
                {
                    this.LowestInitialStorageBillChargeField = value;
                    base.RaisePropertyChanged("LowestInitialStorageBillCharge");
                }
            }
        }

        [DataMember]
        public string LowestInitialStorageBillGeneralLedger
        {
            get
            {
                return this.LowestInitialStorageBillGeneralLedgerField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LowestInitialStorageBillGeneralLedgerField, value))
                {
                    this.LowestInitialStorageBillGeneralLedgerField = value;
                    base.RaisePropertyChanged("LowestInitialStorageBillGeneralLedger");
                }
            }
        }

        [DataMember]
        public string LowestInitialStorageBillTaxGroup
        {
            get
            {
                return this.LowestInitialStorageBillTaxGroupField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LowestInitialStorageBillTaxGroupField, value))
                {
                    this.LowestInitialStorageBillTaxGroupField = value;
                    base.RaisePropertyChanged("LowestInitialStorageBillTaxGroup");
                }
            }
        }

        [DataMember]
        public string LowestInitialStorageCharge
        {
            get
            {
                return this.LowestInitialStorageChargeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LowestInitialStorageChargeField, value))
                {
                    this.LowestInitialStorageChargeField = value;
                    base.RaisePropertyChanged("LowestInitialStorageCharge");
                }
            }
        }

        [DataMember]
        public string LowestInitialStorageGeneralLedger
        {
            get
            {
                return this.LowestInitialStorageGeneralLedgerField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LowestInitialStorageGeneralLedgerField, value))
                {
                    this.LowestInitialStorageGeneralLedgerField = value;
                    base.RaisePropertyChanged("LowestInitialStorageGeneralLedger");
                }
            }
        }

        [DataMember]
        public string LowestInitialStorageTaxGroup
        {
            get
            {
                return this.LowestInitialStorageTaxGroupField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LowestInitialStorageTaxGroupField, value))
                {
                    this.LowestInitialStorageTaxGroupField = value;
                    base.RaisePropertyChanged("LowestInitialStorageTaxGroup");
                }
            }
        }

        [DataMember]
        public string LowestOutboundCharge
        {
            get
            {
                return this.LowestOutboundChargeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LowestOutboundChargeField, value))
                {
                    this.LowestOutboundChargeField = value;
                    base.RaisePropertyChanged("LowestOutboundCharge");
                }
            }
        }

        [DataMember]
        public string LowestOutboundGeneralLedger
        {
            get
            {
                return this.LowestOutboundGeneralLedgerField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LowestOutboundGeneralLedgerField, value))
                {
                    this.LowestOutboundGeneralLedgerField = value;
                    base.RaisePropertyChanged("LowestOutboundGeneralLedger");
                }
            }
        }

        [DataMember]
        public string LowestOutboundTaxGroup
        {
            get
            {
                return this.LowestOutboundTaxGroupField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LowestOutboundTaxGroupField, value))
                {
                    this.LowestOutboundTaxGroupField = value;
                    base.RaisePropertyChanged("LowestOutboundTaxGroup");
                }
            }
        }

        [DataMember]
        public string LowestRecurringStorageBillCharge
        {
            get
            {
                return this.LowestRecurringStorageBillChargeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LowestRecurringStorageBillChargeField, value))
                {
                    this.LowestRecurringStorageBillChargeField = value;
                    base.RaisePropertyChanged("LowestRecurringStorageBillCharge");
                }
            }
        }

        [DataMember]
        public string LowestRecurringStorageBillGeneralLedger
        {
            get
            {
                return this.LowestRecurringStorageBillGeneralLedgerField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LowestRecurringStorageBillGeneralLedgerField, value))
                {
                    this.LowestRecurringStorageBillGeneralLedgerField = value;
                    base.RaisePropertyChanged("LowestRecurringStorageBillGeneralLedger");
                }
            }
        }

        [DataMember]
        public string LowestRecurringStorageBillTaxGroup
        {
            get
            {
                return this.LowestRecurringStorageBillTaxGroupField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LowestRecurringStorageBillTaxGroupField, value))
                {
                    this.LowestRecurringStorageBillTaxGroupField = value;
                    base.RaisePropertyChanged("LowestRecurringStorageBillTaxGroup");
                }
            }
        }

        [DataMember]
        public string ManageType
        {
            get
            {
                return this.ManageTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ManageTypeField, value))
                {
                    this.ManageTypeField = value;
                    base.RaisePropertyChanged("ManageType");
                }
            }
        }

        [DataMember]
        public string OverdueRent
        {
            get
            {
                return this.OverdueRentField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OverdueRentField, value))
                {
                    this.OverdueRentField = value;
                    base.RaisePropertyChanged("OverdueRent");
                }
            }
        }

        [DataMember]
        public string OwnerID
        {
            get
            {
                return this.OwnerIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OwnerIDField, value))
                {
                    this.OwnerIDField = value;
                    base.RaisePropertyChanged("OwnerID");
                }
            }
        }

        [DataMember]
        public string Payment
        {
            get
            {
                return this.PaymentField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PaymentField, value))
                {
                    this.PaymentField = value;
                    base.RaisePropertyChanged("Payment");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string SettleAccount
        {
            get
            {
                return this.SettleAccountField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SettleAccountField, value))
                {
                    this.SettleAccountField = value;
                    base.RaisePropertyChanged("SettleAccount");
                }
            }
        }

        [DataMember]
        public string StartTime
        {
            get
            {
                return this.StartTimeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.StartTimeField, value))
                {
                    this.StartTimeField = value;
                    base.RaisePropertyChanged("StartTime");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string User1
        {
            get
            {
                return this.User1Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.User1Field, value))
                {
                    this.User1Field = value;
                    base.RaisePropertyChanged("User1");
                }
            }
        }

        [DataMember]
        public string User10
        {
            get
            {
                return this.User10Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.User10Field, value))
                {
                    this.User10Field = value;
                    base.RaisePropertyChanged("User10");
                }
            }
        }

        [DataMember]
        public string User2
        {
            get
            {
                return this.User2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.User2Field, value))
                {
                    this.User2Field = value;
                    base.RaisePropertyChanged("User2");
                }
            }
        }

        [DataMember]
        public string User3
        {
            get
            {
                return this.User3Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.User3Field, value))
                {
                    this.User3Field = value;
                    base.RaisePropertyChanged("User3");
                }
            }
        }

        [DataMember]
        public string User4
        {
            get
            {
                return this.User4Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.User4Field, value))
                {
                    this.User4Field = value;
                    base.RaisePropertyChanged("User4");
                }
            }
        }

        [DataMember]
        public string User5
        {
            get
            {
                return this.User5Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.User5Field, value))
                {
                    this.User5Field = value;
                    base.RaisePropertyChanged("User5");
                }
            }
        }

        [DataMember]
        public string User6
        {
            get
            {
                return this.User6Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.User6Field, value))
                {
                    this.User6Field = value;
                    base.RaisePropertyChanged("User6");
                }
            }
        }

        [DataMember]
        public string User7
        {
            get
            {
                return this.User7Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.User7Field, value))
                {
                    this.User7Field = value;
                    base.RaisePropertyChanged("User7");
                }
            }
        }

        [DataMember]
        public string User8
        {
            get
            {
                return this.User8Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.User8Field, value))
                {
                    this.User8Field = value;
                    base.RaisePropertyChanged("User8");
                }
            }
        }

        [DataMember]
        public string User9
        {
            get
            {
                return this.User9Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.User9Field, value))
                {
                    this.User9Field = value;
                    base.RaisePropertyChanged("User9");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }

        [DataMember]
        public string WhLoad
        {
            get
            {
                return this.WhLoadField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhLoadField, value))
                {
                    this.WhLoadField = value;
                    base.RaisePropertyChanged("WhLoad");
                }
            }
        }
    }
}

